package com.everest;
import java.awt.*;
public class Wall {
	private int x,y;
	public  int width;
	public  int height;
	TankClient tc;
	
	public Wall(int x,int y,int width,int height,TankClient tc) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
		this.tc = tc;
	}
	
	public void draw(Graphics g) {
		Color c = g.getColor();
		g.setColor(Color.DARK_GRAY);
		g.fillRect(x, y, width, height);
		g.setColor(c);
	}
	
	public Rectangle getRect() {
		return new Rectangle (x,y,width,height);
	}
}
